package wjh.service;


import org.springframework.web.multipart.MultipartFile;
import wjh.pojo.Doctor;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface wyDoctorService {


    List<Doctor> like(String likename);

    void addDoctor(Doctor doctor, MultipartFile file, HttpServletRequest request);

    void deleteDoctorByid(String ids);

    List<Doctor> findAll();

    Doctor findDoctorById(int id);




    void updateDoctor(Doctor doctor, MultipartFile file, HttpServletRequest request, String phname);
}
